﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DynamicTestFileLocations.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   Defines the TestFileLocations type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Tests.Support
{
    using System;
    using System.Collections.Generic;

    public static class DynamicTestFileLocations
    {
        public static List<string> GetSimpleMacroLocation()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/SimpleMacro.xml";

            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> Get2MacroLocation()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/TwoActionMacro.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> Get2ActionsMacroOneExceptionLocation()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithOneActionException.xml";
            
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> Get2ActionsMacroOneExceptionLocationAndNoStopOnEx()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithOneActionExceptionAnNotStopOnException.xml";

            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> Get5Actions3rdFailsAndAutoUndoTurnedOff()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/FiveActionMacroWith3rdException.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> Get5Actions3rdFailsAndAutoUndoTurnedOn()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/FiveActionMacroWith3rdExceptionAutoRollBack.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetSimpleMacroWithExceptionOn2ndUndo()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/SimpleMacroWithExceptionOn2ndUndo.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroWithACoupleOfDisableDos()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithSomeDisableOnDos.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroWithACoupleOfDisableUndos()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithSomeDisableOnUndos.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroForCollectionTesting()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithEntityListCollection.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroForCollectionTestingWithHugoFailing()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithEntityListCollectionHugoFails.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroJonesFailOnDoEspFailOnUndo()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithEntityListCollection3Fail3Success.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;

        }

        public static List<string> GetMacroJonesFailOnDoEspFailOnUndoPlusAutoUndo()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithEntityListCollection3Fail3SuccessWithAutoUndoTurnedOn.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetSimpleMacroWithCondition()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithCondition.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroWithConditionThatsFalse()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithConditionThatsFalse.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroWithConditionWithActionThatsFalse()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithConditionWithActionThatsFalse.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroWithConditionWithActionThatsFalseFromAContextProperty()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroWithConditionWithActionThatsFalseFromAContextProperty.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroToCreateDynamicProperty()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToCreateDynamicProperty1.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroToCreateDynamicPropertyWithDynamicMacro()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToCreateDynamicPropertyWithDynamicMacro.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }


        public static List<string> GetMacroToCreateDynamicPropertyWithDelay()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToCreateDynamicPropertyWithDelay.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroToTestThatYouCantAddAPlaceHolderThatsTheSame()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToTestThatYouCantAddAPlaceHolderThatsTheSame.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroToTestOutputProps()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToTestOutputProps.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetMacroToTestOutputVars1()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/MacroToTestOutputProps1.xml";
            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetPowershellMacroLoc()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/PowerShellMacro.xml";

            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

        public static List<string> GetNVelocityMacroLoc()
        {
            string loc = "assembly://Collaboris.Saf.Tests," +
                                          "Version=2.0.0.0," +
                                          "Culture=neutral," +
                                          "PublicKeyToken=182db3eac6a9e195/" +
                                          "Collaboris.Saf.Tests.Support.DynamicMacros/NVelocityMacro.xml";

            List<string> arr = new List<string>();
            arr.Add(loc);
            return arr;
        }

    }
}
